package routers

import (
	"github.com/gin-gonic/gin"
	"shop-api/controller"
)

func publicNotice(router *gin.RouterGroup) {
	noticeController := controller.NoticeController{}
	api := router.Group("/shop/notice")
	{
		api.GET("/topNoticeList", noticeController.GetTopNoticeList)
		api.GET("/info/:id", noticeController.GetNoticeById)
	}
}
